mutable$51043$ - définition. Qu'est-ce que mutable$51043$
Diclib.com
Dictionnaire ChatGPT
Entrez un mot ou une phrase dans n'importe quelle langue 👆
Langue:

Traduction et analyse de mots par intelligence artificielle ChatGPT

Sur cette page, vous pouvez obtenir une analyse détaillée d'un mot ou d'une phrase, réalisée à l'aide de la meilleure technologie d'intelligence artificielle à ce jour:

  • comment le mot est utilisé
  • fréquence d'utilisation
  • il est utilisé plus souvent dans le discours oral ou écrit
  • options de traduction de mots
  • exemples d'utilisation (plusieurs phrases avec traduction)
  • étymologie

Qu'est-ce (qui) est mutable$51043$ - définition

OBJECT WHOSE STATE CANNOT BE MODIFIED AFTER IT IS CREATED
Mutable object; Immutable objects; Immutable pattern; Mutable; Immutable class; Immutable value; Immutability; Immutable; Mutable variable

Immutable         
·adj Not mutable; not capable or susceptible of change; unchangeable; unalterable.
immutable         
a.
Unchangeable, invariable, unalterable, undeviating, inflexible, constant, permanent, stable, fixed.
immutability         
n.
Unchangeableness, changelessness, invariableness, invariability, constancy, permanence, stability.

Wikipédia

Immutable object

In object-oriented and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is created. This is in contrast to a mutable object (changeable object), which can be modified after it is created. In some cases, an object is considered immutable even if some internally used attributes change, but the object's state appears unchanging from an external point of view. For example, an object that uses memoization to cache the results of expensive computations could still be considered an immutable object.

Strings and other concrete objects are typically expressed as immutable objects to improve readability and runtime efficiency in object-oriented programming. Immutable objects are also useful because they are inherently thread-safe. Other benefits are that they are simpler to understand and reason about and offer higher security than mutable objects.